<?php

require("include/top.php");
if (!empty($_SESSION['sharing']['id'])) {
if (isset($_POST['submit'])) {
	require(FORM_PATH."analytics.form.php");
}
	$tpl->display("header.tpl");
    $tpl->display("menu.tpl");
	$tpl->display("analytics.tpl");
	$tpl->display("footer.tpl");
}
else {header('Location:login.php');}
require("include/bottom.php");	



?>